import random
x = [random.randint(0,100) for i in range(20)]
print(x) # 打印x看看原列表
y = x[::2]
print(y) # 打印偶数坐标
y.sort(reverse=True)
print(y)
x[::2] = y  # 重新赋值
print(x)

